import 'package:simple_app/common/message/mess.dart';

//从服务接收
class Notify extends Mess {
  const Notify(String type, dynamic data) : super(type: type, data: data);

  factory Notify.fromJson(Map<String, dynamic> jsonobj) {
    var item = Notify(
      jsonobj['type'],
      jsonobj['data'],
    );
    return item;
  }
}
